﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="homeadd.aspx.cs"
    Inherits="weikeweixin.web.admin.website.add" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="Keywords" content="IdeaSoft软件">
    <meta name="Description" content="IdeaSoft软件微信">
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/bootstrap.min.css?v=<%=Application["v"] %>"
        media="all">
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/bootstrap.responsive.min.css?v=<%=Application["v"] %>"
        media="all">
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/style.css?v=<%=Application["v"] %>"
        media="all">
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/themes.css?v=<%=Application["v"] %>"
        media="all">
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/todc_bootstrap.css?v=<%=Application["v"] %>"
        media="all">
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/inside.css?v=<%=Application["v"] %>"
        media="all">
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/resource.css?v=<%=Application["v"] %>"
        media="all">
    <link href="/Scripts/colorChoose/css/jquery.bigcolorpicker.css?v=<%=Application["v"] %>"
        rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="/Scripts/JQuery.min.js?v=<%=Application["v"] %>"></script>
    <script type="text/javascript" src="/Scripts/Bootstrap.min.js?v=<%=Application["v"] %>"></script>
    <style type="text/css">
        .dropdown-submenu:hover > .dropdown-menu
        {
            display: none;
        }
    </style>
    <script type="text/javascript" src="/Scripts/JQuery.form.min.js?v=<%=Application["v"] %>"></script>
    <script type="text/javascript" src="/Scripts/JQuery.validate.min.js?v=<%=Application["v"] %>"></script>
    <script type="text/javascript" src="/Scripts/JQuery.validate.methods.js?v=<%=Application["v"] %>"></script>
    <script type="text/javascript" src="/Scripts/resource.js?v=<%=Application["v"] %>"></script>
    <script type="text/javascript" src="/Scripts/JQuery.cookie.js?v=<%=Application["v"] %>"></script>
    <script type="text/javascript" src="/Scripts/Inside.js?v=<%=Application["v"] %>"></script>
    <link href="/Scripts/colorChoose/css/jquery.bigcolorpicker.css" rel="stylesheet"
        type="text/css" />
    <script src="/Scripts/colorChoose/js/jquery.bigcolorpicker.js" type="text/javascript"></script>
    <title>IdeaSoft软件</title>
    <!--[if IE 7]>
            <link href="/css/Bootstrap/font_awesome_ie7.css?v=<%=Application["v"] %>" rel="stylesheet" />
        <![endif]-->
    <!--[if lte IE 8]>
            <script src="/Scripts/excanvas_min.js?v=<%=Application["v"] %>"></script>
        <![endif]-->
    <!--[if lte IE 9]>
            <script src="/Scripts/watermark.js?v=<%=Application["v"] %>"></script>
        <![endif]-->
    <script src="/Scripts/AjaxUpload.3.5.js" type="text/javascript"></script>
    <%--
    <script src="/Scripts/KindEditor/kindeditor-min.js?v=<%=Application["v"] %>"></script>
    <script src="/Scripts/KindEditor/lang/zh_CN.js?v=<%=Application["v"] %>"></script>
    <script src="/Scripts/KindEditor/kindeditor.config.upfile.js?v=<%=Application["v"] %>"></script>
    <link href="/Scripts/KindEditor/themes/default/default.css?v=<%=Application["v"] %>" rel="stylesheet">--%>
    <script src="/Scripts/colorChoose/js/jquery.bigcolorpicker.js?v=<%=Application["v"] %>"
        type="text/javascript"></script>
    <style>
        option
        {
            padding: 5px;
        }
    </style>
    <style type="text/css" charset="utf-8">
        /* See license.txt for terms of usage */
        /** reset styling **/
        .firebugResetStyles
        {
            z-index: 2147483646 !important;
            top: 0 !important;
            left: 0 !important;
            display: block !important;
            border: 0 none !important;
            margin: 0 !important;
            padding: 0 !important;
            outline: 0 !important;
            min-width: 0 !important;
            max-width: none !important;
            min-height: 0 !important;
            max-height: none !important;
            position: fixed !important;
            transform: rotate(0deg) !important;
            transform-origin: 50% 50% !important;
            border-radius: 0 !important;
            box-shadow: none !important;
            background: transparent none !important;
            pointer-events: none !important;
            white-space: normal !important;
        }
        
        .firebugBlockBackgroundColor
        {
            background-color: transparent !important;
        }
        
        .firebugResetStyles:before, .firebugResetStyles:after
        {
            content: "" !important;
        }
        /**actual styling to be modified by firebug theme**/
        .firebugCanvas
        {
            display: none !important;
        }
        
        /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
        .firebugLayoutBox
        {
            width: auto !important;
            position: static !important;
        }
        
        .firebugLayoutBoxOffset
        {
            opacity: 0.8 !important;
            position: fixed !important;
        }
        
        .firebugLayoutLine
        {
            opacity: 0.4 !important;
            background-color: #000000 !important;
        }
        
        .firebugLayoutLineLeft, .firebugLayoutLineRight
        {
            width: 1px !important;
            height: 100% !important;
        }
        
        .firebugLayoutLineTop, .firebugLayoutLineBottom
        {
            width: 100% !important;
            height: 1px !important;
        }
        
        .firebugLayoutLineTop
        {
            margin-top: -1px !important;
            border-top: 1px solid #999999 !important;
        }
        
        .firebugLayoutLineRight
        {
            border-right: 1px solid #999999 !important;
        }
        
        .firebugLayoutLineBottom
        {
            border-bottom: 1px solid #999999 !important;
        }
        
        .firebugLayoutLineLeft
        {
            margin-left: -1px !important;
            border-left: 1px solid #999999 !important;
        }
        
        /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
        .firebugLayoutBoxParent
        {
            border-top: 0 none !important;
            border-right: 1px dashed #E00 !important;
            border-bottom: 1px dashed #E00 !important;
            border-left: 0 none !important;
            position: fixed !important;
            width: auto !important;
        }
        
        .firebugRuler
        {
            position: absolute !important;
        }
        
        .firebugRulerH
        {
            top: -15px !important;
            left: 0 !important;
            width: 100% !important;
            height: 14px !important;
            background: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%13%88%00%00%00%0E%08%02%00%00%00L%25a%0A%00%00%00%04gAMA%00%00%D6%D8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00%00%00%00%00%00%C0%A6%D3%EA%CFi%AFb%2C%7BB%0A%2B%C3%1A%D7%06V%D5%07%A8r%5D%3D%D9%A6%CAu%F5%25%CF%A2%99%97zNX%60%95%AB%5DUZ%D5%FBR%03%AB%1C%D4k%9F%3F%BB%5C%FF%81a%AE%AB'%7F%F3%EA%FE%F3z%94%AA%D8%DF%5B%01%00%00%00%00%00%00%00%00%00%8E%FB%F3%F2%B1%1B%8DWU%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*UiU%C7%BBe%E7%F3%B9%CB%AAJ%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5J%95*U%AAT%A9R%A5*%AAj%FD%C6%D4%5Eo%90%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5%86%AF%1B%9F%98%DA%EBm%BBV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%ADV%AB%D5j%B5Z%AD%D6%E4%F58%01%00%00%00%00%00%00%00%00%00%00%00%00%00%40%85%7F%02%0C%008%C2%D0H%16j%8FX%00%00%00%00IEND%AEB%60%82") repeat-x !important;
    border-top: 1px solid #BBBBBB !important;
    border-right: 1px dashed #BBBBBB !important;
    border-bottom: 1px solid #000000 !important;
}

.firebugRulerV {
    top: 0 !important;
    left: -15px !important;
    width: 14px !important;
    height: 100% !important;
    background: url("data:image/png,%89PNG%0D%0A%1A%0A%00%00%00%0DIHDR%00%00%00%0E%00%00%13%88%08%02%00%00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%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4h%A9%0C%B3E%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%A9%0CZf%8B%16-Z%B4h%D1R%19f%8B%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1R%19%B4%CC%16-Z%B4h%D1%A2%A52%CC%16-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2%A52h%99-Z%B4h%D1%A2EKe%98-Z%B4h%D1%A2EKe%D02%5B%B4h%D1%A2EKe%D02%5B%B4h%D1%A2E%8B%96%CA0%5B%B4h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%96%CA%A0e%B6h%D1%A2E%8B%16-%95a%B6h%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-%95A%CBl%D1%A2E%8B%16-Z*%C3l%D1%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z*%83%96%D9%A2E%8B%16-Z%B4T%86%D9%A2E%8B%16-Z%B4T%06-%B3E%8B%16-Z%B4%AE%A4%F5%25%C0%00%DE%BF%5C'%0F%DA%B8q%00%00%00%00IEND%AEB%60%82") repeat-y !important;
    border-left: 1px solid #BBBBBB !important;
    border-right: 1px solid #000000 !important;
    border-bottom: 1px dashed #BBBBBB !important;
}

.overflowRulerX > .firebugRulerV {
    left: 0 !important;
}

.overflowRulerY > .firebugRulerH {
    top: 0 !important;
}

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.fbProxyElement {
    position: fixed !important;
    pointer-events: auto !important;
}
</style>
    <script>        var value = "";</script>
</head>
<body>
    <div id="main">
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12">
                    <div class="box">
                        <div class="box-title">
                            <div class="span10">
                                <h3>
                                    <i class="icon-edit"></i>
                                    <%=title %></h3>
                            </div>
                            <div class="span2">
                                <a class="btn" href="Javascript:window.history.go(-1)">返回</a></div>
                        </div>
                        <form novalidate="novalidate" action="homeadd.aspx" method="post" class="form-horizontal form-validate">
                        <input name="action" value="save" style="display: none;" />
                        <%if (Request.QueryString["id"] != null)
                          { %>
                        <input name="id" value="<%=Request.QueryString["id"]%>" style="display: none;" />
                        <%} %>
                        <div class="box-content">
                            <div class="control-group">
                                <label for="classname" class="control-label">
                                    板块名称：</label>
                                <div class="controls">
                                    <input id="classname" name="classname" value="<%=Name %>" class="input-medium" 
                                       data-rule-maxlength="50" type="text">
                                </div>
                            </div>
                            <%--<div class="control-group">
                                <label for="description" class="control-label">
                                    分类描述：</label>
                                <div class="controls">
                                    <input id="description" name="description" value="" class="input-medium" data-rule-required="true"
                                        type="text">
                                    <span class="maroon">*</span><span class="help-inline"></span>
                                </div>
                            </div>
                            <%--<div class="control-group">
                                <label for="category_id" class="control-label">
                                    所属分类：</label>
                                <div class="controls">
                                    <select id="category_id" name="category_id" class="input-medium valid">
                                        <option value="0">根分类</option>
                                        <option value="65190">&nbsp;&nbsp;&nbsp;&nbsp;sdgfdg</option>
                                    </select>
                                </div>
                            </div>--%>
                            <div class="control-group">
                                <label for="sort" class="control-label">
                                    显示顺序：</label>
                                <div class="controls">
                                    <input id="sort" name="sort" value="<%=Sort %>" class="input-mini" data-rule-required="true"
                                        data-rule-number="true" type="text">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="insertcolor" class="control-label">
                                    字体颜色:</label>
                                <div class="controls">
                                    <input id="Color" name="Color" class="input-medium" data-rule-required="false" type="text"
                                        value="<%=Color %>">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="insertcolor" class="control-label">
                                    是否显示字体:</label>
                                <div class="controls">
                                    <%--&nbsp;<input name="cbclassname" type="checkbox"  style="margin-top:0px;" <%=Name_Status %>/>是否显示--%>
                                    <%if (Name_Status == "False")
                                      {%>
                                    <label class="radio inline">
                                        <input value="True" name="cbclassname" type="radio">显示</label>
                                    <label class="radio inline">
                                        <input value="False" name="cbclassname" type="radio" checked="checked">隐藏</label>
                                    <%}
                                      else
                                      { %>
                                    <label class="radio inline">
                                        <input value="True" name="cbclassname" type="radio" checked="checked">显示</label>
                                    <label class="radio inline">
                                        <input value="False" name="cbclassname" type="radio">隐藏</label>
                                    <%} %>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="insertcolor" class="control-label">
                                    背景颜色:</label>
                                <div class="controls">
                                    <input id="BgColor" name="BgColor" class="input-medium" data-rule-required="false"
                                        type="text" value="<%=BgColor %>">
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="insertimage" class="control-label">
                                    背景图片:</label>
                                <div class="controls">
                                    <img id="img_bg" type="img" src="<%=BgImg %>" style="max-height: 50px;">
                                    <input id="picurl" name="picurl" value="<%=BgImg %>" class="input-medium" type="hidden">
                                    <a class="btn insertimage">选择图片</a><%--&nbsp;<input name="cbBgImg" type="checkbox" <%=BgImg_Status %> style="margin-top:0px;" />是否显示--%><span
                                        class="help-inline">图片规格：151*96/80*75/(256*92或128*92)</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="insertcolor" class="control-label">
                                    是否显示背景图片:</label>
                                <div class="controls">
                                    <%if (BgImg_Status == "True")
                                      {%>
                                    <label class="radio inline">
                                        <input value="True" name="cbBgImg" type="radio" checked="checked">显示</label>
                                    <label class="radio inline">
                                        <input value="False" name="cbBgImg" type="radio">隐藏</label>
                                    <%}
                                      else
                                      { %>
                                    <label class="radio inline">
                                        <input value="True" name="cbBgImg" type="radio">显示</label>
                                    <label class="radio inline">
                                        <input value="False" name="cbBgImg" type="radio" checked="checked">隐藏</label>
                                    <%} %>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="insertcolor" class="control-label">
                                    背景透明:</label>
                                <div class="controls">
                                    <input id="opacity" name="opacity" class="input-medium" data-rule-number="true" data-rule-required="false"
                                        type="text" value="<%=Opacity %>"><span class="help-inline">透明度以1位小数表示,0为全透明，1为不透明</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">
                                    是否官网显示：</label>
                                <div class="controls">
                                    <%if (Status == "0")
                                      {%>
                                    <label class="radio inline">
                                        <input value="1" name="is_home" type="radio">显示</label>
                                    <label class="radio inline">
                                        <input value="0" name="is_home" checked="checked" type="radio">隐藏</label>
                                    <%}
                                      else
                                      { %>
                                    <label class="radio inline">
                                        <input value="1" name="is_home" checked="checked" type="radio">显示</label>
                                    <label class="radio inline">
                                        <input value="0" name="is_home" type="radio">隐藏</label>
                                    <%} %>
                                </div>
                            </div>
                            <div class="control-group">
                                <label class="control-label">
                                    图标：</label>
                                <div class="controls">
                                    <div class="i-cont" style="width: 100%; color: Black;">
                                        <%--<i class="<%=PicUrl %>" id="icon_i"></i>--%>
                                        <img src="<%=PicUrl %>" id="icon_i" style="width: 34px;" />
                                        <input id="icon" name="icon" value="<%=PicUrl %>" type="hidden">
                                        <button id="btn_Icon" href="javascript:;" class="btn">
                                            上传图标</button><%--&nbsp;<input name="cbIcon" type="checkbox" <%=PicUrl_Status %> style="margin-top:0px;" />是否显示--%>
                                        <%--<div style="display: none;" class="icons-cont">
                                            <div class="tab-content">
                                                <ul class="nav nav-tabs">
                                                    <li class="active"><a href="#ico_hot" data-toggle="tab">热门</a></li>
                                                    <li class=""><a href="#ico_all" data-toggle="tab">全部</a></li>
                                                </ul>
                                                <div class="tab-pane fade active in" id="ico_hot">
                                                    <ul class="icon_list">
                                                        <li class="tile-themed"><i class="icon-file-text"></i></li>
                                                        <li class="tile-themed"><i class="icon-globe "></i></li>
                                                        <li class="tile-themed"><i class="icon-credit-card"></i></li>
                                                        <li class="tile-themed"><i class="icon-hand-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-dashboard "></i></li>
                                                        <li class="tile-themed"><i class="icon-money "></i></li>
                                                        <li class="tile-themed"><i class="icon-reorder"></i></li>
                                                        <li class="tile-themed"><i class="icon-comments-alt "></i></li>
                                                        <li class="tile-themed"><i class="icon-smile"></i></li>
                                                        <li class="tile-themed"><i class="icon-thumbs-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-truck"></i></li>
                                                        <li class="tile-themed"><i class="icon-shopping-cart"></i></li>
                                                        <li class="tile-themed"><i class="icon-group"></i></li>
                                                        <li class="tile-themed"><i class="icon-user-md"></i></li>
                                                        <li class="tile-themed"><i class="icon-home"></i></li>
                                                        <li class="tile-themed"><i class="icon-plane"></i></li>
                                                        <li class="tile-themed"><i class="icon-gift"></i></li>
                                                        <li class="tile-themed"><i class="icon-food"></i></li>
                                                        <li class="tile-themed"><i class="icon-phone"></i></li>
                                                        <li class="tile-themed"><i class="icon-tags"></i></li>
                                                        <li class="tile-themed"><i class="icon-rocket"></i></li>
                                                        <li class="tile-themed"><i class="icon-cloud"></i></li>
                                                        <li class="tile-themed"><i class="icon-map-marker"></i></li>
                                                        <li class="tile-themed"><i class="icon-music"></i></li>
                                                        <li class="tile-themed"><i class="icon-trophy"></i></li>
                                                        <li class="tile-themed"><i class="icon-android"></i></li>
                                                        <li class="tile-themed"><i class="icon-apple"></i></li>
                                                        <li class="tile-themed"><i class="icon-star"></i></li>
                                                        <li class="tile-themed"><i class="icon-rss-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-heart"></i></li>
                                                        <li class="tile-themed"><i class="icon-envelope"></i></li>
                                                        <li class="tile-themed"><i class="icon-bar-chart"></i></li>
                                                        <li class="tile-themed"><i class="icon-picture"></i></li>
                                                        <li class="tile-themed"><i class="icon-download"></i></li>
                                                        <li class="tile-themed"><i class="icon-gamepad"></i></li>
                                                        <li class="tile-themed"><i class="icon-comment"></i></li>
                                                        <li class="tile-themed"><i class="icon-check"></i></li>
                                                        <li class="tile-themed"><i class="icon-cog"></i></li>
                                                        <li class="tile-themed"><i class="icon-camera"></i></li>
                                                        <li class="tile-themed"><i class="icon-cloud"></i></li>
                                                        <li class="tile-themed"><i class="icon-facetime-video"></i></li>
                                                        <li class="tile-themed"><i class="icon-spinner"></i></li>
                                                        <li class="tile-themed"><i class="icon-bullhorn"></i></li>
                                                        <li class="tile-themed"><i class="icon-location-arrow"></i></li>
                                                        <li class="tile-themed"><i class="icon-list-ul"></i></li>
                                                        <li class="tile-themed"><i class="icon-weibo"></i></li>
                                                        <li class="tile-themed"><i class="icon-windows"></i></li>
                                                        <li class="tile-themed"><i class="icon-time"></i></li>
                                                        <li class="tile-themed"><i class="icon-th"></i></li>
                                                        <li class="tile-themed"><i class="icon-user"></i></li>
                                                        <li class="tile-themed"><i class="icon-microphone"></i></li>
                                                        <li class="tile-themed"><i class="icon-bookmark"></i></li>
                                                        <li class="tile-themed"><i class="icon-flag-checkered"></i></li>
                                                        <li class="tile-themed"><i class="icon-qrcode"></i></li>
                                                        <li class="tile-themed"><i class="icon-glass"></i></li>
                                                        <li class="tile-themed"><i class="icon-stethoscope"></i></li>
                                                        <li class="tile-themed"><i class="icon-medkit"></i></li>
                                                        <li class="tile-themed"><i class="icon-ambulance"></i></li>
                                                        <li class="tile-themed"><i class="icon-hospital"></i></li>
                                                        <li class="tile-themed"><i class="icon-foursquare"></i></li>
                                                        <li class="tile-themed"><i class="icon-download-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-coffee"></i></li>
                                                        <li class="tile-themed"><i class="icon-building"></i></li>
                                                        <li class="tile-themed"><i class="icon-edit"></i></li>
                                                        <li class="tile-themed"><i class="icon-book"></i></li>
                                                        <li class="tile-themed"><i class="icon-question-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-legal"></i></li>
                                                        <li class="tile-themed"><i class="icon-calendar-empty"></i></li>
                                                        <li class="tile-themed"><i class="icon-ellipsis-horizontal"></i></li>
                                                        <li class="tile-themed"><i class="icon-pencil"></i></li>
                                                        <li class="tile-themed"><i class="icon-suitcase"></i></li>
                                                        <li class="tile-themed"><i class="icon-warning-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-jpy"></i></li>
                                                        <li class="tile-themed"><i class="icon-list-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-html5"></i></li>
                                                        <li class="tile-themed"><i class="icon-gittip"></i></li>
                                                        <li class="tile-themed"><i class="icon-search"></i></li>
                                                        <li class="tile-themed"><i class="icon-wrench"></i></li>
                                                        <li class="tile-themed"><i class="icon-lemon"></i></li>
                                                        <li class="tile-themed"><i class="icon-indent-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-paste"></i></li>
                                                        <li class="tile-themed"><i class="icon-archive"></i></li>
                                                        <li class="tile-themed"><i class="icon-sun"></i></li>
                                                        <li class="tile-themed"><i class="icon-bitbucket"></i></li>
                                                    </ul>
                                                </div>
                                                <div class="tab-pane fade" id="ico_all">
                                                    <ul class="icon_list">
                                                        <li class="tile-themed"><i class="icon-compass"></i></li>
                                                        <li class="tile-themed"><i class="icon-collapse"></i></li>
                                                        <li class="tile-themed"><i class="icon-collapse-top"></i></li>
                                                        <li class="tile-themed"><i class="icon-expand"></i></li>
                                                        <li class="tile-themed"><i class="icon-file"></i></li>
                                                        <li class="tile-themed"><i class="icon-file-text"></i></li>
                                                        <li class="tile-themed"><i class="icon-thumbs-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-thumbs-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-xing"></i></li>
                                                        <li class="tile-themed"><i class="icon-xing-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-youtube-play"></i></li>
                                                        <li class="tile-themed"><i class="icon-dropbox"></i></li>
                                                        <li class="tile-themed"><i class="icon-stackexchange"></i></li>
                                                        <li class="tile-themed"><i class="icon-instagram"></i></li>
                                                        <li class="tile-themed"><i class="icon-flickr"></i></li>
                                                        <li class="tile-themed"><i class="icon-adn"></i></li>
                                                        <li class="tile-themed"><i class="icon-bitbucket-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-tumblr"></i></li>
                                                        <li class="tile-themed"><i class="icon-tumblr-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-long-arrow-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-long-arrow-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-long-arrow-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-long-arrow-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-apple"></i></li>
                                                        <li class="tile-themed"><i class="icon-android"></i></li>
                                                        <li class="tile-themed"><i class="icon-skype"></i></li>
                                                        <li class="tile-themed"><i class="icon-foursquare"></i></li>
                                                        <li class="tile-themed"><i class="icon-trello"></i></li>
                                                        <li class="tile-themed"><i class="icon-female"></i></li>
                                                        <li class="tile-themed"><i class="icon-gittip"></i></li>
                                                        <li class="tile-themed"><i class="icon-sun"></i></li>
                                                        <li class="tile-themed"><i class="icon-moon"></i></li>
                                                        <li class="tile-themed"><i class="icon-archive"></i></li>
                                                        <li class="tile-themed"><i class="icon-vk"></i></li>
                                                        <li class="tile-themed"><i class="icon-weibo"></i></li>
                                                        <li class="tile-themed"><i class="icon-renren"></i></li>
                                                        <li class="tile-themed"><i class="icon-adjust"></i></li>
                                                        <li class="tile-themed"><i class="icon-anchor"></i></li>
                                                        <li class="tile-themed"><i class="icon-archive"></i></li>
                                                        <li class="tile-themed"><i class="icon-asterisk"></i></li>
                                                        <li class="tile-themed"><i class="icon-ban-circle"></i></li>
                                                        <li class="tile-themed"><i class="icon-bar-chart"></i></li>
                                                        <li class="tile-themed"><i class="icon-barcode"></i></li>
                                                        <li class="tile-themed"><i class="icon-beaker"></i></li>
                                                        <li class="tile-themed"><i class="icon-beer"></i></li>
                                                        <li class="tile-themed"><i class="icon-bell"></i></li>
                                                        <li class="tile-themed"><i class="icon-bell-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-bolt"></i></li>
                                                        <li class="tile-themed"><i class="icon-book"></i></li>
                                                        <li class="tile-themed"><i class="icon-bookmark"></i></li>
                                                        <li class="tile-themed"><i class="icon-bookmark-empty"></i></li>
                                                        <li class="tile-themed"><i class="icon-briefcase"></i></li>
                                                        <li class="tile-themed"><i class="icon-bug"></i></li>
                                                        <li class="tile-themed"><i class="icon-building"></i></li>
                                                        <li class="tile-themed"><i class="icon-bullhorn"></i></li>
                                                        <li class="tile-themed"><i class="icon-bullseye"></i></li>
                                                        <li class="tile-themed"><i class="icon-calendar"></i></li>
                                                        <li class="tile-themed"><i class="icon-calendar-empty"></i></li>
                                                        <li class="tile-themed"><i class="icon-camera"></i></li>
                                                        <li class="tile-themed"><i class="icon-camera-retro"></i></li>
                                                        <li class="tile-themed"><i class="icon-certificate"></i></li>
                                                        <li class="tile-themed"><i class="icon-check"></i></li>
                                                        <li class="tile-themed"><i class="icon-check-empty"></i></li>
                                                        <li class="tile-themed"><i class="icon-check-minus"></i></li>
                                                        <li class="tile-themed"><i class="icon-check-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-circle"></i></li>
                                                        <li class="tile-themed"><i class="icon-circle-blank"></i></li>
                                                        <li class="tile-themed"><i class="icon-cloud"></i></li>
                                                        <li class="tile-themed"><i class="icon-cloud-download"></i></li>
                                                        <li class="tile-themed"><i class="icon-cloud-upload"></i></li>
                                                        <li class="tile-themed"><i class="icon-code"></i></li>
                                                        <li class="tile-themed"><i class="icon-code-fork"></i></li>
                                                        <li class="tile-themed"><i class="icon-coffee"></i></li>
                                                        <li class="tile-themed"><i class="icon-cog"></i></li>
                                                        <li class="tile-themed"><i class="icon-cogs"></i></li>
                                                        <li class="tile-themed"><i class="icon-collapse"></i></li>
                                                        <li class="tile-themed"><i class="icon-collapse-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-collapse-top"></i></li>
                                                        <li class="tile-themed"><i class="icon-comment"></i></li>
                                                        <li class="tile-themed"><i class="icon-comment-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-comments"></i></li>
                                                        <li class="tile-themed"><i class="icon-comments-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-compass"></i></li>
                                                        <li class="tile-themed"><i class="icon-credit-card"></i></li>
                                                        <li class="tile-themed"><i class="icon-crop"></i></li>
                                                        <li class="tile-themed"><i class="icon-dashboard"></i></li>
                                                        <li class="tile-themed"><i class="icon-desktop"></i></li>
                                                        <li class="tile-themed"><i class="icon-download"></i></li>
                                                        <li class="tile-themed"><i class="icon-download-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-edit"></i></li>
                                                        <li class="tile-themed"><i class="icon-edit-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-ellipsis-horizontal"></i></li>
                                                        <li class="tile-themed"><i class="icon-ellipsis-vertical"></i></li>
                                                        <li class="tile-themed"><i class="icon-envelope"></i></li>
                                                        <li class="tile-themed"><i class="icon-envelope-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-eraser"></i></li>
                                                        <li class="tile-themed"><i class="icon-exchange"></i></li>
                                                        <li class="tile-themed"><i class="icon-exclamation"></i></li>
                                                        <li class="tile-themed"><i class="icon-exclamation-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-expand"></i></li>
                                                        <li class="tile-themed"><i class="icon-expand-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-external-link"></i></li>
                                                        <li class="tile-themed"><i class="icon-external-link-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-eye-close"></i></li>
                                                        <li class="tile-themed"><i class="icon-eye-open"></i></li>
                                                        <li class="tile-themed"><i class="icon-facetime-video"></i></li>
                                                        <li class="tile-themed"><i class="icon-female"></i></li>
                                                        <li class="tile-themed"><i class="icon-fighter-jet"></i></li>
                                                        <li class="tile-themed"><i class="icon-film"></i></li>
                                                        <li class="tile-themed"><i class="icon-filter"></i></li>
                                                        <li class="tile-themed"><i class="icon-fire"></i></li>
                                                        <li class="tile-themed"><i class="icon-fire-extinguisher"></i></li>
                                                        <li class="tile-themed"><i class="icon-flag"></i></li>
                                                        <li class="tile-themed"><i class="icon-flag-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-flag-checkered"></i></li>
                                                        <li class="tile-themed"><i class="icon-folder-close"></i></li>
                                                        <li class="tile-themed"><i class="icon-folder-close-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-folder-open"></i></li>
                                                        <li class="tile-themed"><i class="icon-folder-open-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-food"></i></li>
                                                        <li class="tile-themed"><i class="icon-frown"></i></li>
                                                        <li class="tile-themed"><i class="icon-gamepad"></i></li>
                                                        <li class="tile-themed"><i class="icon-gear"></i></li>
                                                        <li class="tile-themed"><i class="icon-gears"></i></li>
                                                        <li class="tile-themed"><i class="icon-gift"></i></li>
                                                        <li class="tile-themed"><i class="icon-glass"></i></li>
                                                        <li class="tile-themed"><i class="icon-globe"></i></li>
                                                        <li class="tile-themed"><i class="icon-group"></i></li>
                                                        <li class="tile-themed"><i class="icon-hdd"></i></li>
                                                        <li class="tile-themed"><i class="icon-headphones"></i></li>
                                                        <li class="tile-themed"><i class="icon-heart"></i></li>
                                                        <li class="tile-themed"><i class="icon-heart-empty"></i></li>
                                                        <li class="tile-themed"><i class="icon-home"></i></li>
                                                        <li class="tile-themed"><i class="icon-inbox"></i></li>
                                                        <li class="tile-themed"><i class="icon-info"></i></li>
                                                        <li class="tile-themed"><i class="icon-info-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-key"></i></li>
                                                        <li class="tile-themed"><i class="icon-keyboard"></i></li>
                                                        <li class="tile-themed"><i class="icon-laptop"></i></li>
                                                        <li class="tile-themed"><i class="icon-leaf"></i></li>
                                                        <li class="tile-themed"><i class="icon-legal"></i></li>
                                                        <li class="tile-themed"><i class="icon-lemon"></i></li>
                                                        <li class="tile-themed"><i class="icon-level-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-level-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-lightbulb"></i></li>
                                                        <li class="tile-themed"><i class="icon-location-arrow"></i></li>
                                                        <li class="tile-themed"><i class="icon-lock"></i></li>
                                                        <li class="tile-themed"><i class="icon-magic"></i></li>
                                                        <li class="tile-themed"><i class="icon-magnet"></i></li>
                                                        <li class="tile-themed"><i class="icon-mail-forward"></i></li>
                                                        <li class="tile-themed"><i class="icon-mail-reply"></i></li>
                                                        <li class="tile-themed"><i class="icon-mail-reply-all"></i></li>
                                                        <li class="tile-themed"><i class="icon-male"></i></li>
                                                        <li class="tile-themed"><i class="icon-map-marker"></i></li>
                                                        <li class="tile-themed"><i class="icon-meh"></i></li>
                                                        <li class="tile-themed"><i class="icon-microphone"></i></li>
                                                        <li class="tile-themed"><i class="icon-microphone-off"></i></li>
                                                        <li class="tile-themed"><i class="icon-minus"></i></li>
                                                        <li class="tile-themed"><i class="icon-minus-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-minus-sign-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-mobile-phone"></i></li>
                                                        <li class="tile-themed"><i class="icon-money"></i></li>
                                                        <li class="tile-themed"><i class="icon-moon"></i></li>
                                                        <li class="tile-themed"><i class="icon-move"></i></li>
                                                        <li class="tile-themed"><i class="icon-music"></i></li>
                                                        <li class="tile-themed"><i class="icon-off"></i></li>
                                                        <li class="tile-themed"><i class="icon-ok"></i></li>
                                                        <li class="tile-themed"><i class="icon-ok-circle"></i></li>
                                                        <li class="tile-themed"><i class="icon-ok-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-pencil"></i></li>
                                                        <li class="tile-themed"><i class="icon-phone"></i></li>
                                                        <li class="tile-themed"><i class="icon-phone-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-picture"></i></li>
                                                        <li class="tile-themed"><i class="icon-plane"></i></li>
                                                        <li class="tile-themed"><i class="icon-plus"></i></li>
                                                        <li class="tile-themed"><i class="icon-plus-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-plus-sign-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-power-off"></i></li>
                                                        <li class="tile-themed"><i class="icon-print"></i></li>
                                                        <li class="tile-themed"><i class="icon-pushpin"></i></li>
                                                        <li class="tile-themed"><i class="icon-puzzle-piece"></i></li>
                                                        <li class="tile-themed"><i class="icon-qrcode"></i></li>
                                                        <li class="tile-themed"><i class="icon-question"></i></li>
                                                        <li class="tile-themed"><i class="icon-question-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-quote-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-quote-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-random"></i></li>
                                                        <li class="tile-themed"><i class="icon-refresh"></i></li>
                                                        <li class="tile-themed"><i class="icon-remove"></i></li>
                                                        <li class="tile-themed"><i class="icon-remove-circle"></i></li>
                                                        <li class="tile-themed"><i class="icon-remove-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-reorder"></i></li>
                                                        <li class="tile-themed"><i class="icon-reply"></i></li>
                                                        <li class="tile-themed"><i class="icon-reply-all"></i></li>
                                                        <li class="tile-themed"><i class="icon-resize-horizontal"></i></li>
                                                        <li class="tile-themed"><i class="icon-resize-vertical"></i></li>
                                                        <li class="tile-themed"><i class="icon-retweet"></i></li>
                                                        <li class="tile-themed"><i class="icon-road"></i></li>
                                                        <li class="tile-themed"><i class="icon-rocket"></i></li>
                                                        <li class="tile-themed"><i class="icon-rss"></i></li>
                                                        <li class="tile-themed"><i class="icon-rss-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-screenshot"></i></li>
                                                        <li class="tile-themed"><i class="icon-search"></i></li>
                                                        <li class="tile-themed"><i class="icon-share"></i></li>
                                                        <li class="tile-themed"><i class="icon-share-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-share-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-shield"></i></li>
                                                        <li class="tile-themed"><i class="icon-shopping-cart"></i></li>
                                                        <li class="tile-themed"><i class="icon-sign-blank"></i></li>
                                                        <li class="tile-themed"><i class="icon-signal"></i></li>
                                                        <li class="tile-themed"><i class="icon-signin"></i></li>
                                                        <li class="tile-themed"><i class="icon-signout"></i></li>
                                                        <li class="tile-themed"><i class="icon-sitemap"></i></li>
                                                        <li class="tile-themed"><i class="icon-smile"></i></li>
                                                        <li class="tile-themed"><i class="icon-sort"></i></li>
                                                        <li class="tile-themed"><i class="icon-sort-by-alphabet"></i></li>
                                                        <li class="tile-themed"><i class="icon-sort-by-alphabet-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-sort-by-attributes"></i></li>
                                                        <li class="tile-themed"><i class="icon-sort-by-attributes-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-sort-by-order"></i></li>
                                                        <li class="tile-themed"><i class="icon-sort-by-order-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-sort-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-sort-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-spinner"></i></li>
                                                        <li class="tile-themed"><i class="icon-star"></i></li>
                                                        <li class="tile-themed"><i class="icon-star-empty"></i></li>
                                                        <li class="tile-themed"><i class="icon-star-half"></i></li>
                                                        <li class="tile-themed"><i class="icon-star-half-empty"></i></li>
                                                        <li class="tile-themed"><i class="icon-star-half-full"></i></li>
                                                        <li class="tile-themed"><i class="icon-subscript"></i></li>
                                                        <li class="tile-themed"><i class="icon-suitcase"></i></li>
                                                        <li class="tile-themed"><i class="icon-sun"></i></li>
                                                        <li class="tile-themed"><i class="icon-superscript"></i></li>
                                                        <li class="tile-themed"><i class="icon-tablet"></i></li>
                                                        <li class="tile-themed"><i class="icon-tag"></i></li>
                                                        <li class="tile-themed"><i class="icon-tags"></i></li>
                                                        <li class="tile-themed"><i class="icon-tasks"></i></li>
                                                        <li class="tile-themed"><i class="icon-terminal"></i></li>
                                                        <li class="tile-themed"><i class="icon-thumbs-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-thumbs-down-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-thumbs-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-thumbs-up-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-ticket"></i></li>
                                                        <li class="tile-themed"><i class="icon-time"></i></li>
                                                        <li class="tile-themed"><i class="icon-tint"></i></li>
                                                        <li class="tile-themed"><i class="icon-trash"></i></li>
                                                        <li class="tile-themed"><i class="icon-trophy"></i></li>
                                                        <li class="tile-themed"><i class="icon-truck"></i></li>
                                                        <li class="tile-themed"><i class="icon-umbrella"></i></li>
                                                        <li class="tile-themed"><i class="icon-unchecked"></i></li>
                                                        <li class="tile-themed"><i class="icon-unlock"></i></li>
                                                        <li class="tile-themed"><i class="icon-unlock-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-upload"></i></li>
                                                        <li class="tile-themed"><i class="icon-upload-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-user"></i></li>
                                                        <li class="tile-themed"><i class="icon-volume-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-volume-off"></i></li>
                                                        <li class="tile-themed"><i class="icon-volume-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-warning-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-wrench"></i></li>
                                                        <li class="tile-themed"><i class="icon-zoom-in"></i></li>
                                                        <li class="tile-themed"><i class="icon-zoom-out"></i></li>
                                                        <li class="tile-themed"><i class="icon-eur"></i></li>
                                                        <li class="tile-themed"><i class="icon-gbp"></i></li>
                                                        <li class="tile-themed"><i class="icon-krw"></i></li>
                                                        <li class="tile-themed"><i class="icon-renminbi"></i></li>
                                                        <li class="tile-themed"><i class="icon-rupee"></i></li>
                                                        <li class="tile-themed"><i class="icon-usd"></i></li>
                                                        <li class="tile-themed"><i class="icon-yen"></i></li>
                                                        <li class="tile-themed"><i class="icon-align-center"></i></li>
                                                        <li class="tile-themed"><i class="icon-align-justify"></i></li>
                                                        <li class="tile-themed"><i class="icon-align-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-align-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-bold"></i></li>
                                                        <li class="tile-themed"><i class="icon-columns"></i></li>
                                                        <li class="tile-themed"><i class="icon-copy"></i></li>
                                                        <li class="tile-themed"><i class="icon-cut"></i></li>
                                                        <li class="tile-themed"><i class="icon-eraser"></i></li>
                                                        <li class="tile-themed"><i class="icon-file"></i></li>
                                                        <li class="tile-themed"><i class="icon-file-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-file-text"></i></li>
                                                        <li class="tile-themed"><i class="icon-file-text-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-font"></i></li>
                                                        <li class="tile-themed"><i class="icon-indent-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-indent-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-italic"></i></li>
                                                        <li class="tile-themed"><i class="icon-link"></i></li>
                                                        <li class="tile-themed"><i class="icon-list"></i></li>
                                                        <li class="tile-themed"><i class="icon-list-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-list-ol"></i></li>
                                                        <li class="tile-themed"><i class="icon-list-ul"></i></li>
                                                        <li class="tile-themed"><i class="icon-paper-clip"></i></li>
                                                        <li class="tile-themed"><i class="icon-paste"></i></li>
                                                        <li class="tile-themed"><i class="icon-rotate-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-rotate-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-save"></i></li>
                                                        <li class="tile-themed"><i class="icon-strikethrough"></i></li>
                                                        <li class="tile-themed"><i class="icon-table"></i></li>
                                                        <li class="tile-themed"><i class="icon-text-height"></i></li>
                                                        <li class="tile-themed"><i class="icon-text-width"></i></li>
                                                        <li class="tile-themed"><i class="icon-th"></i></li>
                                                        <li class="tile-themed"><i class="icon-th-large"></i></li>
                                                        <li class="tile-themed"><i class="icon-th-list"></i></li>
                                                        <li class="tile-themed"><i class="icon-underline"></i></li>
                                                        <li class="tile-themed"><i class="icon-unlink"></i></li>
                                                        <li class="tile-themed"><i class="icon-angle-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-angle-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-angle-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-angle-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-arrow-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-arrow-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-arrow-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-arrow-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-caret-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-caret-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-caret-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-caret-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-chevron-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-chevron-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-chevron-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-chevron-sign-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-chevron-sign-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-chevron-sign-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-chevron-sign-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-chevron-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-circle-arrow-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-circle-arrow-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-circle-arrow-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-circle-arrow-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-double-angle-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-double-angle-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-double-angle-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-double-angle-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-hand-down"></i></li>
                                                        <li class="tile-themed"><i class="icon-hand-left"></i></li>
                                                        <li class="tile-themed"><i class="icon-hand-right"></i></li>
                                                        <li class="tile-themed"><i class="icon-hand-up"></i></li>
                                                        <li class="tile-themed"><i class="icon-backward"></i></li>
                                                        <li class="tile-themed"><i class="icon-eject"></i></li>
                                                        <li class="tile-themed"><i class="icon-fast-backward"></i></li>
                                                        <li class="tile-themed"><i class="icon-fast-forward"></i></li>
                                                        <li class="tile-themed"><i class="icon-forward"></i></li>
                                                        <li class="tile-themed"><i class="icon-fullscreen"></i></li>
                                                        <li class="tile-themed"><i class="icon-pause"></i></li>
                                                        <li class="tile-themed"><i class="icon-play"></i></li>
                                                        <li class="tile-themed"><i class="icon-play-circle"></i></li>
                                                        <li class="tile-themed"><i class="icon-play-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-resize-full"></i></li>
                                                        <li class="tile-themed"><i class="icon-resize-small"></i></li>
                                                        <li class="tile-themed"><i class="icon-step-backward"></i></li>
                                                        <li class="tile-themed"><i class="icon-step-forward"></i></li>
                                                        <li class="tile-themed"><i class="icon-stop"></i></li>
                                                        <li class="tile-themed"><i class="icon-youtube-play"></i></li>
                                                        <li class="tile-themed"><i class="icon-bitbucket"></i></li>
                                                        <li class="tile-themed"><i class="icon-bitcoin"></i></li>
                                                        <li class="tile-themed"><i class="icon-css3"></i></li>
                                                        <li class="tile-themed"><i class="icon-dribbble"></i></li>
                                                        <li class="tile-themed"><i class="icon-facebook"></i></li>
                                                        <li class="tile-themed"><i class="icon-facebook-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-flickr"></i></li>
                                                        <li class="tile-themed"><i class="icon-foursquare"></i></li>
                                                        <li class="tile-themed"><i class="icon-github"></i></li>
                                                        <li class="tile-themed"><i class="icon-github-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-github-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-gittip"></i></li>
                                                        <li class="tile-themed"><i class="icon-google-plus"></i></li>
                                                        <li class="tile-themed"><i class="icon-google-plus-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-html5"></i></li>
                                                        <li class="tile-themed"><i class="icon-instagram"></i></li>
                                                        <li class="tile-themed"><i class="icon-linkedin"></i></li>
                                                        <li class="tile-themed"><i class="icon-linkedin-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-linux"></i></li>
                                                        <li class="tile-themed"><i class="icon-maxcdn"></i></li>
                                                        <li class="tile-themed"><i class="icon-pinterest"></i></li>
                                                        <li class="tile-themed"><i class="icon-pinterest-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-trello"></i></li>
                                                        <li class="tile-themed"><i class="icon-twitter"></i></li>
                                                        <li class="tile-themed"><i class="icon-twitter-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-windows"></i></li>
                                                        <li class="tile-themed"><i class="icon-youtube"></i></li>
                                                        <li class="tile-themed"><i class="icon-youtube-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-ambulance"></i></li>
                                                        <li class="tile-themed"><i class="icon-h-sign"></i></li>
                                                        <li class="tile-themed"><i class="icon-hospital"></i></li>
                                                        <li class="tile-themed"><i class="icon-medkit"></i></li>
                                                        <li class="tile-themed"><i class="icon-plus-sign-alt"></i></li>
                                                        <li class="tile-themed"><i class="icon-stethoscope"></i></li>
                                                        <li class="tile-themed"><i class="icon-user-md"></i></li>
                                                    </ul>
                                                </div>
                                            </div>
                                        </div>--%>
                                    </div>
                                    <span class="help-inline">该图标用于二级页面右上角的缩略菜单和部分模板的首页主菜单</span>
                                </div>
                            </div>
                            <div class="control-group">
                                <label for="insertcolor" class="control-label">
                                    是否显示图标:</label>
                                <div class="controls">
                                    <%if (PicUrl_Status == "False")
                                      {%>
                                    <label class="radio inline">
                                        <input value="True" name="cbIcon" type="radio">显示</label>
                                    <label class="radio inline">
                                        <input value="False" name="cbIcon" type="radio" checked="checked">隐藏</label>
                                    <%}
                                      else
                                      { %>
                                    <label class="radio inline">
                                        <input value="True" name="cbIcon" type="radio" checked="checked">显示</label>
                                    <label class="radio inline">
                                        <input value="False" name="cbIcon" type="radio">隐藏</label>
                                    <%} %>
                                </div>
                            </div>
                            <div id="res_block">
                                <div class="control-group">
                                    <label for="type" class="control-label">
                                        回复类型：</label>
                                    <div class="controls">
                                        <script type="text/javascript">
                                            $(function () {
                                                $.ajax({
                                                    url: "newsclass.aspx?action=list",
                                                    type: "post",
                                                    success: function (msg) {
                                                        msg = eval("(" + msg + ")");
                                                        var str = "";
                                                        $(msg).each(function (i) {
                                                            str += "<option value=\"" + msg[i].CId + "\">" + msg[i].CName + "</option>";
                                                        });
                                                        $("#category_id,#category_id2").append(str);
                                                        var type = '<%=Type %>';
                                                        var Href = '<%=Href %>';
                                                        $("#type").val(type);
                                                        switch (type) {
                                                            case "articlelist":
                                                                $("#r_articlelist").css("display", "block");
                                                                $("#category_id").val(Href.replace("http://" + window.location.host + "/phone/List?user_id=" + "<%=user_id %>&cid=", ""));
                                                                break;
                                                            case "article":
                                                                $("#r_article").css("display", "block");
                                                                Href = Href.replace("http://" + window.location.host + "/phone/News?user_id=" + "<%=user_id %>&nid=", "");
                                                                $("#article").val(Href);
                                                                value = Href;
                                                                break;
                                                            case "link":
                                                                $("#r_link").css("display", "block");
                                                                $("#link").val(Href);
                                                                break;
                                                            case "tel":
                                                                $("#r_tel").css("display", "block");
                                                                $("#tel").val(Href.replace("tel:", ""));
                                                                break;
                                                            default:
                                                                $("#r_link").css("display", "block");
                                                                $("#link").val(Href);
                                                                break;
                                                        }
                                                    }
                                                });
                                            })
                                        </script>
                                        <select id="type" name="type" class="input-medium">
                                            <option value="articlelist">图文分类</option>
                                            <option value="article">图文</option>
                                            <option value="link">链接</option>
                                            <option value="tel">电话</option>
                                            <%--<option value="map">导航</option>
                                            <option value="activity">活动</option>
                                            <option value="business">业务模块</option>
                                            <option value="car">微汽车</option>
                                            <option value="estate">微房产</option>
                                            <option value="food">微餐饮</option>
                                            <option value="shop">微商城</option>
                                            <option value="market">微生活</option>--%>
                                        </select>
                                    </div>
                                </div>
                                <div id="r_articlelist" class="control-group r-module hide">
                                    <div class="control-group">
                                        <label class="control-label">
                                            图文分类
                                        </label>
                                        <div class="controls">
                                            <select id="category_id" name="category_id" class="input-medium valid">
                                            </select>
                                        </div>
                                    </div>
                                </div>
                                <div id="r_article" class="control-group r-module hide">
                                    <div class="control-group">
                                        <label class="control-label">
                                        </label>
                                        <div class="controls">
                                            <span id="lbl_article" class="maroon">请选择图文</span><a href="#" onclick="javascript:$('#article_list').removeClass('hide')"
                                                class="icon-edit">
                                                <input id="article" name="article" value="" class="input-xlarge" data-rule-required="true"
                                                    data-rule-url="true" type="text" style="display: none;">点击选择图文 </a>
                                            <div id="article_list" class="hide">
                                                <div class="modal-header">
                                                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                                                        &times;</button>
                                                    <h4 class="modal-title">
                                                        <i class="icon-table"></i>选择图文</h4>
                                                </div>
                                                <div class="modal-body">
                                                    <div class="row-fluid">
                                                        图文标题：<input name="key" id="title" type="text" class="input-medium" placeholder="输入标题进行查找" />
                                                        <select name="classid" id="category_id2" class="input-medium">
                                                            <option value="0">请选择图文分类</option>
                                                        </select>
                                                        <button type="button" class="btn" id="btn_search">
                                                            <strong>查找</strong></button>
                                                    </div>
                                                    <p>
                                                    </p>
                                                    <div class="row-fluid">
                                                        <ul class="unstyled list-li-border" id="data-list">
                                                        </ul>
                                                    </div>
                                                </div>
                                                <div class="modal-footer">
                                                    <button id="btn_article" type="button" class="btn btn-primary" data-dismiss="modal">
                                                        确定</button>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <div id="r_link" class="control-group r-module hide">
                                    <div class="control-group">
                                        <label class="control-label" for="link">
                                            外链地址</label>
                                        <div class="controls">
                                            <input id="link" name="link" value="" class="input-xlarge" data-rule-required="true"
                                                data-rule-url="true" type="url">
                                            <span class="maroon">*</span><span class="help-inline">(必填，必须是正确的URL格式)</span>
                                        </div>
                                    </div>
                                </div>
                                <div id="r_tel" class="control-group r-module hide">
                                    <div class="control-group">
                                        <label class="control-label" for="tel">
                                            电话号码</label>
                                        <div class="controls">
                                            <input id="tel" name="tel" value="" class="input-large" data-rule-required="true"
                                                data-rule-phone="true" type="text">
                                            <span class="maroon">*</span><span class="help-inline">(必填，必须是正确的号码)</span>
                                        </div>
                                    </div>
                                </div>
                                
                                <div class="form-actions">
                                    <button type="submit" class="btn btn-primary">
                                        保存</button>
                                    <button type="button" class="btn" onclick="window.history.go(-1);">
                                        取消</button>
                                </div>
                            </div>
                        </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
        <script type="text/javascript">
            var url = "add.aspx";
            $(document).ready(function () {
                var resource = Resource.create();
                var ins = Resource.instance['res_block'];
                ins.result = ins.result || {};
                ins.result.wuid = 27743;


                window.ICON();
            });
            $(function () {
                $("#BgColor").bigColorpicker("BgColor");
                $("#Color").bigColorpicker("Color");
            })

            new AjaxUpload($("#btn_Icon"), {
                action: '/Controllers/Ashx/UploadFile.ashx?p=Icon&dir=image',
                name: 'imgFile',
                onSubmit: function (file, ext) {
                    if (!(ext && /^(jpg|png|jpeg|gif)$/.test(ext))) {
                        $.messager.alert('错误提示', '只能上传 JPG, PNG 或 GIF 类型的文件！', 'info');

                        return false;
                    }
                },
                onComplete: function (file, response) {
                    response = eval("(" + response + ")");
                    if (response.error != "0") {
                        alert(response.message);
                    } else {
                        document.getElementById("icon_i").setAttribute("src", response.url);
                        document.getElementById("icon").setAttribute("value", response.url);
                    }
                }
            });

            new AjaxUpload($("a.insertimage"), {
                action: '/Controllers/Ashx/UploadFile.ashx?p=HomeIcon&dir=image',
                name: 'imgFile',
                onSubmit: function (file, ext) {
                    if (!(ext && /^(jpg|png|jpeg|gif)$/.test(ext))) {
                        $.messager.alert('错误提示', '只能上传 JPG, PNG 或 GIF 类型的文件！', 'info');

                        return false;
                    }
                },
                onComplete: function (file, response) {
                    response = eval("(" + response + ")");
                    if (response.error != "0") {
                        alert(response.message);
                    } else {
                        document.getElementById("img_bg").setAttribute("src", response.url);
                        document.getElementById("picurl").setAttribute("value", response.url);
                    }
                }
            });


            //            KindEditor.ready(function (K) {
            //                var editor = K.editor({
            //                    themeType: 'simple',
            //                    allowFileManager: true
            //                });
            //                $('a.insertimage').live('click', function (e) {
            //                    editor.loadPlugin('smimage', function () {
            //                        editor.plugin.imageDialog({
            //                            imageUrl: $(e.target).prev().val(),
            //                            clickFn: function (url, title, width, height, border, align) {
            //                                $(e.target).prev().val(url);
            //                                if ('img' == $(e.target).prev().prev().attr('type')) {
            //                                    $(e.target).prev().hide();
            //                                    $(e.target).prev().prev().attr('src', url);
            //                                    $(e.target).prev().prev().show();
            //                                }
            //                                editor.hideDialog();
            //                            }
            //                        });
            //                    });
            //                });
            //            });
        </script>
        <script>
            window.document.onkeydown = function (e) {
                if ('' == document.activeElement.id) {
                    var e = e || event;
                    var currKey = e.keyCode || e.which || e.charCode;
                    if (8 == currKey) {
                        return false;
                    }
                }
            };
        </script>
    </div>
    <div id="fallr-overlay">
    </div>
</body>
</html>
<script type="text/javascript">
    $(function () {
        getNews();
        $("#btn_search").click(function () {
            getNews();
        });
        $("#btn_article").click(function () {
            $("input[name='radio']").each(function (i) {
                if (this.checked) {
                    alert("你选择了" + $(this).attr("data-title"));
                    $("#lbl_article").html($(this).attr("data-title"));
                    $("#article").val($(this).val());
                    $("#article_list").addClass("hide");
                }
            });
        });
        $("#btn_DelImg").click(function () {
            document.getElementById("img_bg").setAttribute("src", "");
            document.getElementById("picurl").setAttribute("value", "");
            $("#btn_DelImg").css("display", "none");
        });
    })
    function getNews() {
        $.ajax({
            url: "news.aspx?action=list2",
            type: "post",
            data: { cid: $("#category_id2").val().replace("0", ""), title: $("#title").val() },
            success: function (msg) {
                msg = eval("(" + msg + ")");
                var str = "";
                $(msg).each(function (i) {
                    if (value == msg[i].NId) {
                        $("#lbl_article").html(msg[i].NTitle);
                    }
                    str += "<li> <label> <input type=\"radio\" value=\"" + msg[i].NId + "\" data-title=\"" + msg[i].NTitle + "\" name=\"radio\">" + msg[i].NTitle + "</label></li>";
                });
                $("#data-list").html(str);
            }
        });
    }
</script>
